﻿namespace KingerRobot.MexicoSailunWMS.SpiService;
internal class XLogHelper
{
    public static void WriteLog(string message, bool flag = false)
    {
        try
        {
            K8.CBB.XContext.Current.Msg = message;
            if (flag)
            {
                K8.LSF.Client.Log(new K8.LSF.Log { Data = message });
            }
        }catch
        {

        }
    }
}
